I hit these while causing errors in prune. Let's add the specific
object we were looking for.
Closes: #471
Approved by: jlebon
while (G_UNLIKELY (res == -1 && errno == EINTR));
if (G_UNLIKELY (res == -1))
{
- glnx_set_error_from_errno (error);
+ glnx_set_prefix_error_from_errno (error, "Deleting object %s.%s", sha256, ostree_object_type_to_string (objtype));
goto out;
}
while (G_UNLIKELY (res == -1 && errno == EINTR));
if (G_UNLIKELY (res == -1))
{
- glnx_set_error_from_errno (error);
+ glnx_set_prefix_error_from_errno (error, "Querying object %s.%s", sha256, ostree_object_type_to_string (objtype));
goto out;
}